import Vue from 'vue'
import App from './App.vue'
// import Vant from 'vant';
import router from './router'
import store from './store'

// Vue.use(Vant);

// 引入 Vant css样式
import 'vant/lib/index.css';

// 引入 Vant 图片懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);

// 引入 Vant List懒加载
import { List } from 'vant';
Vue.use(List);

// 引入 Vant Swipe 轮播
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);

// 引入 Vant ShareSheet 分享面板
import { ShareSheet } from 'vant';
Vue.use(ShareSheet);

// 引入 Vant Toast 轻提示
import { Toast } from 'vant'
Vue.use(Toast);

// 引入 Vant Tab 标签页
import { Tab, Tabs } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);

// 引入 Vant ImagePreview 图片预览
import { ImagePreview } from 'vant';
Vue.use(ImagePreview);

// 引入 Vant Popup 弹出层
import { Popup } from 'vant';
Vue.use(Popup);

Vue.config.productionTip = false

// 引入字体图标
import "../src/assets/font/iconfont.css"
import "../src/assets/font/iconfont.js"

// 插件 滚动效果
import "swiper/dist/css/swiper.min.css"

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
